package com.wayhome.srpingbootmybatis.boc.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.wayhome.srpingbootmybatis.boc.consts.BocOnePayConst;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class BocQueryRefundOrdReqDTO extends BocBaseFieldDTO {

    @ApiModelProperty(value = "原支付方式", notes = "ZFBA-支付宝 WEIX-微信 UPAY-银联二维码(暂不支持) DZZF-电子支付 UN-未知")
    @JsonProperty("OldPayType")
    public String OldPayType;

    @ApiModelProperty(value = "原交易编码", notes = "201001支付宝消费201002微信消费201012电子支付消费")
    @JsonProperty("OldTranId")
    public String OldTranId;

    @ApiModelProperty(value = "原唯一流水号")
    @JsonProperty("OldPayLs")
    public String OldPayLs;

    @ApiModelProperty(value = "原交易金额", notes = "金额以分为单位不包含小数，不足 12 位左补“0”:000000000001，代 表1分钱")
    @JsonProperty("OldTranAmt")
    public String OldTranAmt;

    @ApiModelProperty(value = "交易币种", notes = "固定填156")
    @JsonProperty("OldCcyCode")
    public String OldCcyCode = BocOnePayConst.BOC_TRAN_CCY_CODE;

    @ApiModelProperty(value = "响应码", notes = "本笔查询交易的结果代码")
    @JsonProperty("RespCode")
    public String RespCode;

    @ApiModelProperty(value = "响应信息", notes = "本笔查询交易的结果描述")
    @JsonProperty("RespMsg")
    public String RespMsg;

    @ApiModelProperty(value = "银行交易日期", notes = "成功时返回")
    @JsonProperty("BankDate")
    public String BankDate;

    @ApiModelProperty(value = "银行交易时间", notes = "成功时返回")
    @JsonProperty("BankTime")
    public String BankTime;

    @ApiModelProperty(value = "柜员号")
    @JsonProperty("OperNo")
    public String OperNo;
}
